import unittest
from net.requestCsv import ReqeustCsv

class Test_Request(unittest.TestCase):

    def setUp(self) -> None:
        pass

    def tearDown(self) -> None:
        pass

    def test_code(self):
        # 请求的结果码
        statusCodes = ReqeustCsv().requestCsv()

        # 验证结果码都是200
        for code in statusCodes:
            self.assertEqual(code,200)

